/* Basic reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
    body {
        font-family: Times New Roman;
        background-color: #4e0705;
        color: #483c32;
}

    header {
        background: #122e32;
        color: antiquewhite;
        padding: 2rem;
        text-align: center;
        position: static;
        bottom: 50px;
    }

    nav {
        background: rgb(243, 219, 187);
        padding: 0.5rem;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        color: #7f3e09;
     }

    nav a {
        color: #7f3e09;
        text-decoration: none;
        margin: 0 1rem;
        }
    nav a:hover,
    .dropdown .dropbtn:hover {
        text-decoration: underline;
    }

    main {
        width: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;  
        background-image: url("../../src images/when two worlds collide.jpg");
    }
footer {
        background: rgb(243, 219, 187);
        color: #7f3e09;
        text-align: center;
        padding: 1rem;
    }


/* Dropdown container */
    .dropdown {
        position: relative;
    }

/* Dropdown button */
    .dropdown .dropbtn {
        font-size: 16px;
        font-family: Times New Roman;
        border: none;
        outline: none;
        color: #7f3e09;
        padding: 14px 20px;
        background-color: transparent;
        cursor: pointer;
    }

    .dropdown:hover .dropbtn {
        background-color: rgba(0, 0, 0, 0.15);
        border-radius: 4px;
    }

/* Dropdown content (hidden by default) */
    .dropdown-content {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: rgb(243, 219, 187);
        min-width: 160px;
        box-shadow: 0px 8px 16px rgba(0,0,0,0.2);
        z-index: 1;
        color: #7f3e09;
    }

/* Links inside dropdown */
    .dropdown-content a {
        float: none;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
        color: #7f3e09;
    }
    .dropdown-content a:hover {
        background-color: #7f3e09;
        color: #dfe5c3;
    }

/* Show dropdown on hover */
    .dropdown:hover .dropdown-content {
        display: block;
    }
    

.header {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    color: antiquewhite;
}
.greeting {
    width: 100%;
    margin: 2rem;
    text-align: center;
    font-size:17px;
    color: antiquewhite;
    line-height: 1.3em;
}

.category-title {
    width: 100%;
    margin: 1rem;
    text-align: center;
    font-size: 30px;
    color: antiquewhite;
}
.card {
  font-family: 'Heebo';
  --bg-filter-opacity: 0.5; 
  background-image: linear-gradient(rgba(0,0,0,var(--bg-filter-opacity)),rgba(0,0,0,var(--bg-filter-opacity))), var(--bg-img);
  width: 10em;
  height: 14em;
  font-size: 1.5em;
  color: white;
  border-radius: 1em;
  padding: 1em;
  margin: 2em;
  display: flex;
  align-items: flex-end;
  background-size: 353px 353px ;
  background-position: top;
  background-repeat: no-repeat;
  box-shadow: 0 0 5em -1em black;
  transition: all, var(--transition-time);
  position: relative;
  overflow: hidden;
  border: 10px solid  rgb(243, 219, 187);
  text-decoration: none;
}
.card:hover {
  --bg-filter-opacity: 0.2;
  transform: scale(1.05);
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card .mbti {
  position: absolute;
  top: 0;
  right: 0;
  font-size: 0.65em;
  padding: 1em;
  line-height: 1em;
  opacity: .8;
}
.card h1 {
    margin: .5em;
    font-size: .75em;
    line-height: 1em;
}

.card p {
    font-size: 0.65em;
    font-family: 'Times New Roman', serif;
    margin-top: 0.2em;
    line-height: 1.5em;
}
.card .div {
    height: 100%;
    width: 100%;
}


.locked {
    --bg-img: url("../../src images/locked.jpg")
}
.aiden{
    --bg-img: url("../../src images/aiden.jpg")
}
.keldri {
    --bg-img: url("../../src images/keldri.jpg")
}
.rania {
    --bg-img: url("../../src images/rania.jpg")
}
.xavier {
    --bg-img: url("../../src images/xavier.jpg")
}
